//
//  YSReviewsBottomView.h
//  Yueshi
//
//  Created by yueshi－mac1 on 15/12/9.
//  Copyright © 2015年 悦食中国. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YSCommentInfo.h"
#define kContentPrefix @"@%@ "

@protocol YSReviewsBottomViewDelegate <NSObject>
@optional
- (void)praise;
- (void)toComment;
-(void)publish:(NSString *)text;
@end

@interface YSReviewsBottomView : UIView
@property (strong, nonatomic) YSCommentInfo *commentInfo;
@property (strong, nonatomic) UITextField *inputField;
@property (assign, nonatomic) NSInteger likeNum;
@property (assign, nonatomic) NSInteger isLike;
@property (assign, nonatomic) NSInteger replyNum;

@property (weak, nonatomic) id<YSReviewsBottomViewDelegate> delegate;

@end
